package com.md.threadtest.climb;

/**
 * @Author Gong
 * @Description
 * @dATE 2022/3/29 8:44
 **/
public class MyOldThread implements Runnable{
    @Override
    public void run() {
        for (int i = 1; i <=100;i++){
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println(Thread.currentThread().getName()+":"+i);
        }
        System.out.println(Thread.currentThread().getName()+"，到终点了");
    }
}
